<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>数据字典</title>
<script type="text/javascript" src="/ui/jquery.min.js"></script>
<script type="text/javascript" src="/ui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/ui/locale/easyui-lang-zh_CN.js"></script>
<link rel="stylesheet" type="text/css" href="/ui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="/ui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="/css/image.css">
<script type="text/javascript" src="/js/utils/jquery.serializejson.min.js"></script>
<script type="text/javascript" src="/js/baseDictManager/baseDict.js"></script>
</head>
<body class="easyui-layout">
<!-- 适应父容器大小 -->
<div data-options="region:'center'">
<!-- 查询窗口 -->
	<div id="searchPanel" class="easyui-panel" style="padding:10px;background:#eee;">   
		<form id="searchForm" method="post">
			类型名称：<input type="text" name="dict_type_name" class="easyui-combobox" data-options="
 				url: '/baseDict/findTypeName.action', valueField: 'dict_type_name', textField: 'dict_type_name'
 			"/>
			状态：<input name="dict_enble" class="easyui-combobox" data-options="
				data: [{value: '1',text: '使用中'}, {value: '0',text: '已停用'}], panelHeight: 60
			"/>
			<a id="searchBtn" style="margin-left: 10px;" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search'">查询</a>
			<a id="resetBtn" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload'">重置</a>
		</form>
	</div>
<!-- 数据表格 -->
	<table id="grid"></table>
</div>
<!-- 添加表单 -->
<div id="insertDlg">
	<form id="insertForm" method="post" >  
		<input name="dict_id" type="hidden">
        <table style="width: 300px;text-align:center;">
            <tr>
                <td align="right">类型编码:</td>
                <td align="left"><input type="text" name="dict_type_code" /></td>
            </tr>
            <tr>
                <td align="right">类型名称:</td>
                <td align="left"><input name="dict_type_name" type="text" /></td>
            </tr>
            <tr>
                <td align="right">项目名称:</td>
                <td align="left"><input name="dict_item_name" type="text" /></td>
            </tr>
            <tr>
                <td align="right">项目编码:</td>
                <td align="left"><input name="dict_item_code" type="text" /></td>
            </tr>
            <tr>
                <td align="right">排序字段:</td>
                <td align="left"><input name="dict_sort" type="text" /></td>
            </tr>
<!--             <tr> -->
<!--                 <td align="right">状态:</td> -->
<!--                 <td align="left"><input name="dict_enble" type="text" /></td> -->
<!--             </tr> -->
            <tr>
                <td align="right">备注:</td>
                <td align="left"><input name="dict_memo" type="text" /></td>
            </tr>
       </table> 
	</form> 
</div> 
<!-- 修改表单 -->
<div id="updateDlg">
	<form id="updateForm" method="post">  
		<input name="dict_id" type="hidden">
        <table style="text-align:center;">
            <tr>
                <td align="right">类型编码:</td>
                <td align="left"><input type="text" name="dict_type_code" /></td>
            </tr>
            <tr>
                <td align="right">类型名称:</td>
                <td align="left"><input name="dict_type_name" type="text" /></td>
            </tr>
            <tr>
                <td align="right">项目名称:</td>
                <td align="left"><input name="dict_item_name" type="text" /></td>
            </tr>
            <tr>
                <td align="right">项目编码:</td>
                <td align="left"><input name="dict_item_code" type="text" /></td>
            </tr>
            <tr>
                <td align="right">排序字段:</td>
                <td align="left"><input name="dict_sort" type="text" /></td>
            </tr>
<!--             <tr> -->
<!--                 <td align="right">状态</td> -->
<!--                 <td align="left"><input name="dict_enble" type="text" /></td> -->
<!--             </tr> -->
            <tr>
                <td align="right">备注:</td>
                <td align="left"><input name="dict_memo" type="text" /></td>
            </tr>
       </table> 
	</form> 
</div> 
</body>
</html>